package com.hex.ds.hdtp.core.app.common.enums;

import lombok.experimental.Accessors;

/**
 * @Package com.hex.ds.hdtp.core.app.common.enums
 * @ClassName BasicTaskStatus
 * @Description 各模块任务基础状态
 * @Author gj.xu
 * @Date 2023/11/24 18:05
 * @Version v2.0
 **/
@Accessors(chain = true)
public enum BasicTaskStatus {

    TODO("TODO", "待处理"),
    PROCESSING("PROCESSING", "处理中"),
    FINISH("FINISH", "完成"),
    STOPPED("STOPPED", "停止"),
    FAIL("FAIL", "失败");

    private String name;
    private String desc;

    private BasicTaskStatus(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }

}
